import { login } from '@/api/login.js'
import {
  userInfo,
  editProfile,
  editPhoto,
  followUser,
  unfollowUser
} from '@/api/user.js'
import { channels, channelsAll, addChannel, delChannel } from '@/api/channel.js'
import {
  articleList,
  articleInfo,
  zan,
  unZan,
  unlike,
  cancelLike
} from '@/api/articleList.js'
import { cmtList, sendCmt } from '@/api/comment.js'
import { suggest, getSearch } from '@/api/search.js'

export const loginAPI = login
export const userInfoAPI = userInfo
export const editProfileAPI = editProfile
export const editPhotoAPI = editPhoto
export const channelsAPI = channels
export const articleListAPI = articleList
export const articleInfoAPI = articleInfo
export const cmtListAPI = cmtList
export const sendCmtAPI = sendCmt
export const channelsAllAPI = channelsAll
export const addChannelAPI = addChannel
export const delChannelAPI = delChannel
export const suggestAPI = suggest
export const getSearchAPI = getSearch
export const followUserAPI = followUser
export const unfollowUserAPI = unfollowUser
export const zanAPI = zan
export const unZanAPI = unZan
export const unlikeAPI = unlike
export const cancelLikeAPI = cancelLike
